package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.SysTenant;
import com.youlai.boot.factory.model.form.SysTenantForm;

/**
 * 租户基本信息对象转换器
 *
 * @author youlaitech
 * @since 2025-11-22 08:24
 */
@Mapper(componentModel = "spring")
public interface SysTenantConverter{

    SysTenantForm toForm(SysTenant entity);

    SysTenant toEntity(SysTenantForm formData);
}